set(srcs
   "sys_main.c"
    "sys_app.c"
    "sys_main_ui.c"
    "sys_main_event.c"
    "sys_main_input.c"
    "btmusic/btmusic_main.c"
    "btmusic/btmusic_ui.c"
    "lcmusic/lcmusic_main.c"
    "lcmusic/lcmusic_media.c"
    "lcmusic/lcmusic_file_iterator.c"
    "lcmusic/lcmusic_ui.c"
    "lcmusic/img_benchmark_cogwheel_argb.c"
    "record/record_main.c"
    "record/record_media.c"
    "record/record_ui.c"
    "record/record_event.c"
    "record/record_file_iterator.c"
)

set(includes
    "include"
)

set(requires 
    freertos
    bsp
    lib
    manager
    misc
    main
    servers
)

idf_component_register(
    SRCS 
        ${srcs}
    INCLUDE_DIRS 
        ${includes}
    PRIV_REQUIRES 
        ${requires}
)
